package cn.itcast.server.handler.xt;

import cn.itcast.message.xt.IoTLoginResponseMessage;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@ChannelHandler.Sharable
public class IoTLoginRespHandler extends SimpleChannelInboundHandler<IoTLoginResponseMessage> {

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, IoTLoginResponseMessage msg) throws Exception {
        log.info("login resp: {}",msg);
    }
}
